﻿using System;
using ProjScan.RecordManager;
using ProjScan.RecordManager.AssetData;
using ProjScan.ScanRule.Attr;

namespace ProjScan.ScanRule.ProjectAssets.SAShader
{
	// Token: 0x020001C5 RID: 453
	[SA_Proj_RuleAttr]
	internal class ProjS_TextureNumber : RecordRuleImp<ShaderAssetData, ShaderRecordManager>
	{
		// Token: 0x06000E96 RID: 3734 RVA: 0x00042390 File Offset: 0x00040590
		protected override bool IsOK(ShaderAssetData assetData)
		{
			return (float)assetData.textureCount <= this.GetThresholds(3f);
		}
	}
}
